<!DOCTYPE html>
<html>
	<head th:replace="/mobile/common::head(~{::custom_settings})">
		<th:block th:fragment="custom_settings">
			<title>网吧食品经营监管系统</title>
			<link type="text/css" rel="stylesheet" th:href="@{{css}/mobile/supplier/register.css(css=${css})}"/>
		</th:block>
	</head>
	
	<body>
		<div class="page">
			<div class="weui-cells_input">
				<div class="placeholder"></div>
				<label class="title">基本信息<span class="red">*</span></label>
				<div class="spliter"></div>
				<div class="row">
					<label>企业名称</label>
					<input id="entname" class="weui-input input" type="text" placeholder="请输入企业名称"/>
				</div>
				<div class="row">
					<label>营业执照号</label>
					<input id="buslicenseno" class="weui-input input" type="text" placeholder="请输入营业执照号"/>
				</div>
				<div class="row">
					<label>营业执照</label>
					<input id="buslicense" class="file" type="file" prop="fileInput"/>
					<input id="buslicenseSelector" class="weui-input input" type="text" readonly="readonly" prop="fileSelector" placeholder="请选择营业执照"/>
				</div>
				<div class="row">
					<label>负责人</label>
					<input id="leader" class="weui-input input" type="text" placeholder="请输入负责人"/>
				</div>
				<div class="row">
					<label>联系电话</label>
					<input id="contactnumber" class="weui-input input" type="tel" placeholder="请输入联系电话"/>
				</div>
				<div class="row auto-height">
					<label>所在区域</label>
					<div rowid="">
						<input id="provinceid" type="hidden"/>
						<input id="provinceidSelector" class="weui-input input area" type="text" readonly="readonly" prop="areaSelector" placeholder="省"/>
						<input id="cityid" type="hidden"/>
						<input id="cityidSelector" class="weui-input input area" type="text" readonly="readonly" prop="areaSelector" placeholder="市"/>
						<input id="districtid" type="hidden"/>
						<input id="districtidSelector" class="weui-input input area" type="text" readonly="readonly" prop="areaSelector" placeholder="区县"/>
						<input id="streetid" type="hidden"/>
						<input id="streetidSelector" class="weui-input input area" type="text" readonly="readonly" prop="areaSelector" placeholder="街道"/>
					</div>
				</div>
				<div class="row">
					<label>详细地址</label>
					<input id="detailaddr" class="weui-input input" type="text" placeholder="请输入详细地址"/>
				</div>
				<div class="row">
					<label>食品经营许可证</label>
					<input id="folicense" class="file" type="file" prop="fileInput"/>
					<input id="folicenseSelector" class="weui-input input" type="text" readonly="readonly" prop="fileSelector" placeholder="请选择食品经营许可证"/>
				</div>
				<div class="placeholder"></div>
				<label class="title">其他信息</label>
				<div class="spliter"></div>
				<div class="row">
					<label>检测报告</label>
					<input id="testreport" class="file" type="file" prop="fileInput"/>
					<input id="testreportSelector" class="weui-input input" type="text" readonly="readonly" prop="fileSelector" placeholder="请选择检测报告"/>
				</div>
				<div class="row">
					<label>质量报告</label>
					<input id="qualityreport" class="file" type="file" prop="fileInput"/>
					<input id="qualityreportSelector" class="weui-input input" type="text" readonly="readonly" prop="fileSelector" placeholder="请选择质量报告"/>
				</div>
				<div class="placeholder"></div>
				<label class="title">配送区域<span class="red">*</span></label>
				<div class="spliter"></div>
			</div>
			<div class="weui-cells_button">
				<a class="weui-btn weui-btn_primary" onclick="onSubmitClick();" href="javascript:void(0);">提&nbsp;&nbsp;交</a>
				<a class="weui-btn weui-btn_default" onclick="onBackClick();" href="javascript:void(0);">返&nbsp;&nbsp;回</a>
			</div>
		</div>
		
		<th:block th:replace="/mobile/common::common_toast_define"/>
		<th:block th:replace="/mobile/common::common_dialog_define"/>
		
		<script type="text/javascript" th:src="@{{js}/mobile/supplier/RegisterHandler.js(js=${js})}"></script>
	</body>
</html>
